﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;
using Model;
namespace UI.system
{
    public partial class imgtype : System.Web.UI.Page
    {
        public List<ImgInfo> imglist = new List<ImgInfo>();
        public int count = 0;
        public int pageindex;
        public int pagesize=20;
        protected void Page_Load(object sender, EventArgs e)
        {
            pageindex = JobRequest.GetRequestInt("pageindex");
            pageindex = pageindex == 0 ? 1 : pageindex;
            databind();
        }
        public void databind()
        {
              
            string filter = "";
            this.Repeater1.DataSource = CommonDAL.Pager("[imgtype]", filter , pagesize, pageindex, ref count);
            this.Repeater1.DataBind();
        }
    }
}